!This is for ANOVA analysis of the Frost Chamber LOAD-1 2009/2010
ANOVA/0031 3 9 11
!In spite of being a rectangular lattice (7 x 6), r=2
!we analyse as if it was a RCBD, a randomized complete block design
FACTORS GENOTYPES=42 REPLICATES=2
!We mention GENOTYPES first in FACTORS, and after this we mention REPLICATES. THUS:
!Data need to be sorted: First come all data of GENOTYPE number 1 (which is Hiverna/1, as mentioned in NAMES)
!and within each GENOTYPE data sorted according to REPLICATES 
MODEL  R+G+RG
RANDOM R
TBT_TABLE G
VARIABLES_NAMES      CLSS2  TLSS2  CLSS3  TLSS3  CLSSF  TLSSF   DS-P1 DS-P2 REGRWTH(g) DSURV TL+CL
!the variable names are the names of the traits
!TRAIT1: Turgor Loss after -15C
!TRAIT2: Colour Loss after -15C
!TRAIT3: Turgor Loss after -18C
!TRAIT4: Colour Loss after -18C
!TRAIT5: Final Turgor Loss
!TRAIT6: Final Colur Loss
!TRAIT7: Disposition to Survive Plant 1; 0 - 90
!TRAIT8: Disposition to Survive Plant 2; 0 - 90
!TRAIT9: Yield (g fresh matter) of Regrowth after Frost-Test
!TRAIT10: Disposition to Survive MEAN
!TRAIT11: Sum of Turgor and Colour Losses
CALCULATE X10=(X7+X8)/2 X11=X1+X2+X3+X4+X5+X6
PLOT                 X7.X8 X10.X11
NAMES/G10  Hiverna/1  Webo/1  Wibo/1    CteD`Or/1  L79/79/1    L977.S1wn  L979/.sn   Bourdon/1  Arrisot/1  Banner/1  Bulldog/1  Hiverna/2  Karl/5     Diva/4
           Wizzard    29H     WFam157   CteD`Or/1  CteD`Or/2  CBPL-95   S_021      S_098      S_267      S_002     S_003      S_004      S_005      S_008
           S_009      S_010   S_012     S_013       S_015       S_016      S_018      S_019      S_020      S_022     S_025      S_027      S_028      S_029
!the /G10 specifies that the names of G may contain as much as 10 digits
!#  P-B    ENTRY         CLSS2   TLSS2   CLSS3   TLSS3   CLSSF   TLSSF      DS-P1 DS-P2 REGRWTH(g)   DSURV    TL+CL
!Trait numbers           1       2       3       4       5       6          7     8     9
RUN